from ..model.request_records import RequestRecord

def record_request(data):
    record_class = RequestRecord()
    result = record_class.insert_one(data)
    return result
